home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2368 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: in1.uu.net!tandem!usenet
  2. From: Anatoli Mandelchtam <tolik@tarley_pc.loc201.tandem.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help:Memory allocation above 64kbytes
  5. Date: Tue, 16 Jan 1996 21:20:01 -0800
  6. Organization: Tandem Computers Inc., Cupertino, CA
  7. Message-ID: <30FC8701.C1E@tarley_pc.loc201.tandem.com>
  8. References: <30FA67A9.31CC@mj.org.za> <4ddq4u$9pv@masala.cc.uh.edu>
  9. NNTP-Posting-Host: miket_home1.fnord.tandem.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b5 (Win95; I)
  14.  
  15. Sensarn wrote:
  16. .> 
  17. .> Wayne Cawood <wcawood@mj.org.za> wrote:
  18. .> >Dear Intellectual!
  19. .> >
  20. .> >I am in desperate need of advice on how to combat the problem of
  21. .> >addressing memory above 64000 bytes. Nothing I do works. I know the
  22. .> >borland c++ 3.1 compiler should be able to but I am completely confused
  23. .> >as to why my computer (and others which I have tried on), bomb OUT when
  24. .> >I attempt to write to this memory.
  25.  
  26. .> Use farmalloc (includes malloc.h).  Make sure you go into the
  27. .> OPTIONS/DEBUGGER menu and change the PROGRAM HEAP SIZE from 64k to
  28. .> something larger (like 640k).
  29. .> 
  30.  
  31. This will allow you to allocate more than 64K but not more than 64K at a time.
  32. Switch to a huge memory model.
  33.  
  34. > >How do I address the EMS,XMS or what ever MS I am supposed to use!
  35. > >I have 8megs of extended memory and I can't use it!! How frustrating!!
  36.  
  37. What you need is a LIM EMS 4.0 specification.  I don't know where to get it,
  38. but it should be somewhere on the Inet.
  39.  
  40. Regards,
  41.  
  42. Anatoli.
  43.  
  44.  
  45.